package dao;

import entity.User;

public interface UserDAO {
	 public User findById(Integer id);
	 public void save(User user) throws Exception;
	 public boolean findByEmailName(String email)throws Exception;
	 public User findByEmail(String email)throws Exception;
	 public void UpdateEmailVerifyCode(String code)throws Exception;
	 public User findByEmailVerifyCode(String code)throws Exception;
	 public void modify(User user)throws Exception;
}
